package bean;


public class ExampleBean {
    private String psnName = null;
    private String addinfo = null;
    private RefBean refBean = null;

    public RefBean getRefBean() {
        return refBean;
    }

    public void setRefBean(RefBean refbean) {
        this.refBean = refBean;
    }

    public String getPsnName(){
        return psnName;
    }

    public void setPsnName(String psnname) {
        this.psnName = psnname;
    }

    public String getAddinfo() {
        return refBean.getAddress() + refBean.getZipcode();
    }

    public void setAddinfo(String addinfo) {
        this.addinfo = addinfo;
    }
}
